<template>
  <div>
    bchild
    <button @click="decrease()">-</button>
  </div>
</template>

<script>
  import {EventBus} from '../../event-bus'

  export default {
    name: "bchild",
    data() {
      return {
        num: 1,
        deg:180
      };
    },
    methods: {
      decrease() {
        EventBus.$emit("decreased", {
          num:this.num,
          deg:this.deg
        });
      }
    }
  }
</script>

<style scoped>

</style>
